<template>
  <div>
      <h1>我的18岁</h1>
      <div v-html="name"></div>
      <div v-text="name"></div>
      <div>{{ age>20?"老杨飞":"小飞" }}</div>
      <img :src="tu" alt="" width="200px" height="200px">
  </div>
</template>

<script>
export default {
  data(){
    return{
      name:"<h1>杨飞</h1>",
      age:18,
      tu:"https://img-home.csdnimg.cn/images/20240905093955.jpg",
      
    }
  }

}
</script>

<style scoped>

</style>